From https://confusedwords.org/discreet-vs-discrete/
DISCREET vs DISCRETE
Discreet or Discrete? How to Use Discreet vs Discrete Correctly?
These two words are homophones, which means they sound completely alike but have different meanings and spellings.
DISCREET Definition and Examples
Discreet is an adjective.
It means careful or showing good judgment in what one says or does; not too devious.
DISCREET Examples:
He is very discreet in giving his opinions.
He took her hand with discreet gentility.
She followed them at a discreet distance.
He was always very discreet about his love affairs.
It was not very discreet of you to ring up at the office.
The chauffeur gave a discreet cough.
DISCRETE Definition and Examples
Discrete is also an adjective.
It means something is distinct and separate or has a clear independent shape or form.
DISCRETE Examples:
The change happens in a series of discrete steps.
We receive our inheritance in discrete particles.
The function is to draw samples from an arbitrary discrete distribution.
The pizza came as eight discrete slices.
The picture consists of a lot of discrete spots of color.
These small companies now have their own discrete identity.
By the way, "discrete" is used less than a handful of times in the past 70 years (see WT library) and they seem to be used correctly.